/**
 * @project_name staff_vehicle
 * @package_name com.ssh.dao
 * @desc TODO
 * @param
 * @author jack
 * @date 2013-4-25
 * @time 上午7:13:51
 */
package com.ssh.dao;

import java.util.List;

/**
 * @author jack
 *
 */
public interface ObjectDAOI {
	public Object queryById(String id,String objectName);
	public List<Object> queryByParam(String param,String objectName);
	public int deleteById(String id,String objectName);
	public int deleteByObject(Object object,String objectName);
	public int deleteObjectList(Object object,String objectName);
	public Object updateByObject(Object object,String objectName);
	public int updateByObjectList(List<Object> object,String objectName);
	public Object addObject(Object object,String objectName);
	public int addObjectList(List<Object> objectList,String objectName);
	public int countById(String id);
}
